package com.wsl.myexception.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class AspectController {
    @GetMapping("aspect")
    public String get() {
        //log.info("id={},name={}",id,name);
        //System.out.println("我是mid");
        return "测试切面编程";
    }
}
